package com.medusa.aps.business.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 服务枚举
 *
 * @author miskw
 * @date 2023/9/1
 */
@Getter
public enum ServiceEnum {
    /**
     * BOM管理
     */
    BOM(1, "BOM管理"),
    SUGGESTED_PLAN(2, "建议计划"),
    PURCHASE_PLAN(3, "采购计划"),
    NESTING_ANALYSIS(4, "齐套分析"),
    PROCESS(5, "工艺"),
    WORKING_PROCEDURE(6, "工序"),
    ORDER_INFORMATION(7, "需求订单"),
    PRODUCTION_REPORTING(8, "生产报工"),
    PROCESS_DETAIL(9, "工序排程明细"),
    USER(10, "成员"),
    TASK_VIEW(11, "任务视图"),

    SUPPLIER(12, "供应商"),

    DEVICE(13, "设备"),

    ASSISTANT_RESOURCE(14, "辅助资源"),

    /**
     * 物料
     */
    MATERIAL(15, "物料"),

    CUSTOMER_INFORMATION(16, "客户信息"),

    /**
     * 车间
     */
    WORK_SHOP(17, "车间"),

    /**
     * 角色
     */
    ROLE(18, "角色"),

    /**
     * 设备负荷表
     */
    DEVICE_LOAD(19, "设备负荷表"),
    ;
    @EnumValue
    private final int value;
    private final String desc;

    ServiceEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
